// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui'
// import ElementUI from '@/plugin/element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'font-awesome/css/font-awesome.min.css'
import router from '@/routers'
import Filters from '@/common/filter'
import Const from '@/plugin/const'
import Http from '@/plugin/http'
import LocalStorage from '@/plugin/localStorage'
import Directive from '@/common/directive'

import echarts from 'echarts'
import VueAreaLinkage from 'vue-area-linkage'
import 'vue-area-linkage/dist/index.css'
Vue.use(VueAreaLinkage)

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
Vue.use(Filters)
Vue.use(LocalStorage)
Vue.use(Const)
Vue.use(Directive)

Vue.use(Http)

router.run()
Vue.use(ElementUI)
// ElementUI(Vue)
